home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1998 August / PC Plus SuperCD 50a Issue 142 (CD142a) (August 1998).iso / handson / supercede / Knowodys / TOPICS / audio1 / T1605S10.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1997-08-15  |  93.9 KB  |  1 channel  |  22,050 sample rate  |  21 seconds
Transcription: The first statement in the paint method sets the initial line on which we will print the number if it is prime. Next is a for loop, which allows us to test each number to see if it is prime. To save time, let's assume that we have already executed this loop several times previously, and we are now checking to see if the number four is prime.